<ion-view view-title="店员管理">
    <div class="bar bar-subheader padding-bottom-0">
        <div class="row text-center font-large-my padding-0">
            <div class="col" on-tap="activeTab(0)" ng-class="selectTab==0?'top-activated':''">
                店员角色
            </div>
            <div class="col" on-tap="activeTab(1)" ng-class="selectTab==1?'top-activated':''">
                店员管理
            </div>
        </div>
    </div>
    <ion-content class="has-subheader">
        <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
        <ion-slide-box delegate-handle="tab-handle" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">

            <ion-slide>
                <div class="list padding-0">
                    <li class="item">
                        店员角色管理
                        <span class="right-zhang positive" on-tap="onshow_addrights()">
                                                     添加角色+
 	 			</span>
                    </li>
                    <li class="item item-divider">
                        角色名称
                        <span class="right-zhang" style="margin-right:1rem;">
		        	操作
 	 			</span>
                    </li>
                    <li class="item" ng-repeat="part in part_list">
                        {{part.name}}
                        <div class="right-zhang">
                            <span on-tap="onshow_edit(part.id)">编辑 </span>
                            <span class="margin-left-10-my assertive" on-tap="deletepart({{part.id}})">删除</span>
                        </div>
                    </li>
                </div>
            </ion-slide>

            <ion-slide>
                <span class="font-gray-my font-small-my">暂无内容</span>
            </ion-slide>

        </ion-slide-box>
        <!--加载-->
       <ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
    </ion-content>
</ion-view>